package o;

import android.text.TextUtils;
import androidx.annotation.NonNull;
import com.huawei.hms.framework.common.ContainerUtils;

public final class ept {
    public static String ॱ(@NonNull String str, @NonNull String str2) {
        if (TextUtils.isEmpty(str)) {
            Logger.ˎ("UrlUtils", "can not find any url.");
            return "";
        } else if (TextUtils.isEmpty(str2)) {
            Logger.e("UrlUtils", "channelNo is missing!");
            return str;
        } else {
            StringBuilder stringBuilder = new StringBuilder(str);
            stringBuilder.append(ContainerUtils.FIELD_DELIMITER);
            stringBuilder.append("channelNo");
            stringBuilder.append(ContainerUtils.KEY_VALUE_DELIMITER);
            stringBuilder.append(str2);
            return stringBuilder.toString();
        }
    }
}
